package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.cloud.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台用户角色表
 * </p>
 *
 * @author JackGu
 * @since 2022-09-11
 */
@Data
@TableName("ums_role")
@ApiModel(value = "UmsRole对象", description = "后台用户角色表")
public class UmsRole extends BaseEntity {

private static final long serialVersionUID=1L;

        @ApiModelProperty("名称")
    @TableField("name")
        private String name;

        @ApiModelProperty("描述")
    @TableField("description")
        private String description;

        @ApiModelProperty("后台用户数量")
    @TableField("admin_count")
        private Integer adminCount;

        @ApiModelProperty("启用状态：0->禁用；1->启用")
    @TableField("status")
        private Integer status;

        @ApiModelProperty("排序")
    @TableField("sort")
        private Integer sort;


    public static final String NAME ="name";

    public static final String DESCRIPTION ="description";

    public static final String ADMIN_COUNT ="admin_count";

    public static final String STATUS ="status";

    public static final String SORT ="sort";

        }
